XXXXmmmmPPPPuuuusssshhhhBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeetttt - The PushButtonGadget widget class
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/PushBG.h>
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
PushButtonGadget issues commands within an application. It
consists of a text label or pixmap surrounded by a border
shadow. When PushButtonGadget is selected, the shadow
changes to give the appearance that the PushButtonGadget has
been pressed in. When PushButtonGadget is unselected, the
shadow changes to give the appearance that the
PushButtonGadget is out.
The default behavior associated with a PushButtonGadget in a
menu depends on the type of menu system in which it resides.
By default, <<<<BBBBttttnnnn1111>>>> controls the behavior of the
PushButtonGadget. In addition, <<<<BBBBttttnnnn3333>>>> controls the behavior
of the PushButtonGadget if it resides in a PopupMenu system.
The actual mouse button used is determined by its RowColumn
parent.
Thickness for a second shadow may be specified with the
XXXXmmmmNNNNsssshhhhoooowwwwAAAAssssDDDDeeeeffffaaaauuuulllltttt resource. If it has a nonzero value, the
Label's XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnLLLLeeeefffftttt, XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnRRRRiiiigggghhhhtttt, XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnTTTToooopppp, and
XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnBBBBoooottttttttoooommmm resources may be modified to accommodate the
second shadow.
If an initial value is specified for XXXXmmmmNNNNaaaarrrrmmmmPPPPiiiixxxxmmmmaaaapppp but not
for XXXXmmmmNNNNllllaaaabbbbeeeellllPPPPiiiixxxxmmmmaaaapppp, the XXXXmmmmNNNNaaaarrrrmmmmPPPPiiiixxxxmmmmaaaapppp value is used for
between the shadow and the default shadow is equal
to the sum of both shadows. The default value is
0. When the Display resource
XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttBBBBuuuuttttttttoooonnnnEEEEmmmmpppphhhhaaaassssiiiissss has a value of
XXXXmmmmEEEEXXXXTTTTEEEERRRRNNNNAAAALLLL____HHHHIIIIGGGGHHHHLLLLIIIIGGGGHHHHTTTT (the default), PushButton
draws the location cursor outside of the outer
shadow. When this resource has a value of
XXXXmmmmIIIINNNNTTTTEEEERRRRNNNNAAAALLLL____HHHHIIIIGGGGHHHHLLLLIIIIGGGGHHHHTTTT, the highlight is drawn
between the inner and outer shadows. When this
value is not 0, the Label XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnLLLLeeeefffftttt,
XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnRRRRiiiigggghhhhtttt, XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnTTTToooopppp, and XXXXmmmmNNNNmmmmaaaarrrrggggiiiinnnnBBBBoooottttttttoooommmm
armed, and calls the XXXXmmmmNNNNaaaarrrrmmmmCCCCaaaallllllllbbbbaaaacccckkkkcallbacks, the
XXXXmmmmNNNNaaaaccccttttiiiivvvvaaaatttteeeeCCCCaaaallllllllbbbbaaaacccckkkk and the XXXXmmmmNNNNddddiiiissssaaaarrrrmmmmCCCCaaaallllllllbbbbaaaacccckkkk
callbacks. Outside a menu, KKKKAAAAccccttttiiiivvvvaaaatttteeeehas no effect.